<?php # Psychological_Test_Question.php

require_once 'DBObject.php';

class Psychological_Test_Question extends DBObject {
	public $tablename = "psychological_test_question";
	
	public $qnumber;
	public $text;
	public $type;
	public $type_options;
	
		
	public function get() {
		return array(
					'qnumber' => $this->qnumber,
					'text' => $this->text,
					'type' => $this->type,
					'type_options' => $this->type_options
				);
	}

	
	public function validate() {
		return parent::validateObject($this->tablename);
	}
}